<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : projects
    Created on : 26.11.2008, 18:05:27
    Author     : Jaroslav
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page binding="#{projects.page1}" id="page1">
            <webuijsf:html binding="#{projects.html1}" id="html1">
                <webuijsf:head binding="#{projects.head1}" id="head1">
                    <webuijsf:link binding="#{projects.link1}" id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body binding="#{projects.body1}" id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{projects.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:directive.include file="resources/logo_loggedIn.jspf"/>
                        </div>
                        <webuijsf:image id="image1" style="left: 0px; top: 120px; position: absolute" url="/resources/bar.png"/>
                        <webuijsf:label id="label1" style="font-size: 14px; left: 336px; top: 96px; position: absolute" text="Projekty"/>
                        <webuijsf:table augmentTitle="false" id="table1" style="left: 24px; top: 216px; position: absolute; width: 744px"
                            title="Správa projektov" width="744">
                            <webuijsf:tableRowGroup id="tableRowGroup1" rows="5" sourceData="#{projects.projectArr}" sourceVar="currentRow">
                                <webuijsf:tableColumn headerText="Názov projektu" id="tableColumn1" sort="projectName">
                                    <webuijsf:staticText id="staticText1" text="#{currentRow.value['projectName']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="Popis" id="tableColumn2" sort="description" width="335">
                                    <webuijsf:staticText id="staticText2" text="#{currentRow.value['description']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="Url" id="tableColumn3" sort="projectUrl">
                                    <webuijsf:staticText id="staticText3" text="#{currentRow.value['projectUrl']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn align="center" id="tableColumn4" width="48">
                                    <webuijsf:button actionExpression="#{projects.butEd_action}" binding="#{projects.butEd}" id="butEd"
                                        imageURL="/resources/edit.jpg" text="#{currentRow.value['projectId']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn align="center" id="tableColumn5" width="41">
                                    <webuijsf:button actionExpression="#{projects.butDel_action}" binding="#{projects.butDel}" id="butDel"
                                        imageURL="/resources/delete.png" text="#{currentRow.value['projectId']}"/>
                                </webuijsf:tableColumn>
                            </webuijsf:tableRowGroup>
                        </webuijsf:table>
                        <webuijsf:label id="label2" style="position: absolute; left: 48px; top: 144px" text="Názov projektu:"/>
                        <webuijsf:label id="label3" style="left: 336px; top: 144px; position: absolute" text="Popis projektu:"/>
                        <webuijsf:label id="label4" style="left: 48px; top: 168px; position: absolute" text="Url projektu:"/>
                        <webuijsf:textField binding="#{projects.nazovPr}" id="nazovPr" style="position: absolute; left: 168px; top: 144px"/>
                        <webuijsf:textField binding="#{projects.urlPr}" id="urlPr" style="left: 168px; top: 168px; position: absolute"/>
                        <webuijsf:textArea binding="#{projects.popisPr}" id="popisPr" rows="3" style="left: 432px; top: 144px; position: absolute"/>
                        <webuijsf:button actionExpression="#{projects.button1_action}" id="button1"
                            style="height: 24px; left: 647px; top: 168px; position: absolute; width: 72px" text="PRIDAJ"/>
                        <webuijsf:image id="image2" style="left: 0px; top: 192px; position: absolute" url="/resources/bar.png"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
